/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ibusplus.com.reportRequest.clases;

import javax.faces.context.FacesContext;
import javax.servlet.ServletContext;

/**
 *
 * @author solman
 */
public class SOUtil {

    public static String getSistemaOperativo() {
        String soname = System.getProperty("os.name");
        if (soname.toLowerCase().contains("win")) {
            return "WINDOWS";
        } else {
            return "LINUX";
        }
    }

    public static String getSeparadorArchivos() {
        if (getSistemaOperativo().equals("WINDOWS")) {
            return "\\";
        } else {
            return "/";
        }
    }

   
}
